//
//  WCUrlAccess.h
//  WebClipper
//
//  Created by Daniel Braun on 24/02/07.
//  Copyright 2007 Daniel Braun http://page-appart.net, http://braun.daniel.free.fr All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "WCDom.h"


@interface WCUrlAccess : NSObject {
	NSString *_method;
	NSURL *_url;
	NSDictionary *variables;	
}

- (void) setStringUrl:(NSString *)s;
- (NSString *) stringUrl;
- (NSURL *) url;
- (void) setUrl:(NSURL *)url;
- (NSString *)method;
- (void) setMethod:(NSString *)method;
- (NSDictionary *)variables;
- (void) setVariables:(NSDictionary *)d;
- (BOOL) canBeOverWritten;
- (NSMutableURLRequest *) updateRequest:(NSMutableURLRequest *)r withBodyVariables:(NSDictionary *)d;
@end
